home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19971216-19980424 / 000050_news@newsmaster….columbia.edu _Sun Jan 4 11:19:04 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA26693
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sun, 4 Jan 1998 11:19:03 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA11599
  7.     for kermit.misc@watsun; Sun, 4 Jan 1998 11:19:03 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: VMS:  doesn't dealloc devices after use.
  12. Date: 4 Jan 1998 16:18:59 GMT
  13. Organization: Columbia University
  14. Lines: 59
  15. Message-ID: <68ocpj$59a$1@apakabar.cc.columbia.edu>
  16. References: <34AF07E8.4A8A@videotron.ca>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8218
  19.  
  20. In article <34AF07E8.4A8A@videotron.ca>,
  21. jf mezei  <"[non-spam]jfmezei"@videotron.ca> wrote:
  22. : CKermit 6.0.192 6 Sep 96 for VMS VAX.
  23. : I have a script which does the following:
  24. : SET SESSION LOG myfile.txt
  25. : :loop
  26. : SET HOST www.heaven.sky:80
  27. : IF FAILURE end 1 goto hell            ; sorry couldn't resist.
  28. :
  29. Actually you probably wanted this to be simply "if failure goto hell"
  30. (but then you'll need a ":hell" label).
  31.  
  32. : SET TERMINAL ECHO ON
  33. : OUTPUT POST /cgi-bin/ERIS.pl HTTP/1.0\13
  34. : OUTPUT header text (about 10 outputs ended with \13)
  35. :
  36. Not that it's relevant to your complaint, but you really should put
  37. an IF FAIL command after any communications-oriented command to catch
  38. i/o errors, broken connections, etc; otherwise the script will keep
  39. cranking away after the connection is gone.
  40.  
  41. : CONNECT
  42. : GOTO loop
  43. : Basically, this sends the equivalent of pressing the SUBMIT button on a
  44. : form to a web server and then the connect just waist for the HTML
  45. : results to be sent back to me (and logged to myfile.txt). After the
  46. : results are sent, the remote server disconnects and the "CONNECT"
  47. : statement automatically ends and the script continues.
  48. : The PROBLEM:
  49. : The script runs very fine for hundreds of transactions, but stops when
  50. : trying to send the 242nd transaction.
  51. : The message:
  52. :     Trying 0.0.0.0... (instead of the usual numeric address shown)
  53. :     TCP socket error: non translatable vms error code: 0x1B4,
  54. :     VMS Message
  55. :     %system-f-noiochan, no i/o channel available
  56. :     can't open connection to www.heaven.sky:80
  57. : Further investigation revealed that after a CONNECT completes, the
  58. : IPnnnn device is not deallocated and eventually, the process runs out
  59. : of resources to allocate those devices.
  60. :     neither a "HANGUP" or a "SET HOST"  after the "CONNECT" makes 
  61. :     a difference.
  62. : Stopping kermit and restarting it fixes the quota problem and you're
  63. : good for another 242 transactions. (In my case, with current process
  64. : quotas, your milage may vary, of course).
  65. :
  66. Hmmm, looks a lot like a bug.  Well, you've got the workaround, and I've
  67. got the report.  Thanks.
  68.  
  69. - Frank